﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CsplConsoleProject
{
    class ClassA
    {
        public int FieldA;
        
        //public int MethodA(int param);
        
        public int PropertyA
        {
            get;
            set;
        }
        public string PropertyB { get; set; }
        
        public ClassA(int param)
        {
            AnPropertyValue = param;
        }

        private int _selectedValue;
        public int AnPropertyValue { 
            get{return _selectedValue;}
            set { _selectedValue = value; }
        }

        public void ShowProperty()
        {
            Console.WriteLine(AnPropertyValue);
        }


    }
}
